gnttab: drop a redundant expression from gnttab_release_mappings()
authorJan Beulich <jbeulich@suse.com>
Tue, 7 Sep 2021 07:34:57 +0000 (09:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Sep 2021 07:34:57 +0000 (09:34 +0200)
commit0e719f6ec95d7f9c9151ecbbdcba92028307e2b4
treed7a7021874ddbc47be281083778f1f94fe458a64
parent2358d99995fb5ebb0b7c37694574a92ec6cf3f75
gnttab: drop a redundant expression from gnttab_release_mappings()

This gnttab_host_mapping_get_page_type() invocation sits in the "else"
path of a conditional controlled by "map->flags & GNTMAP_readonly".

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/common/grant_table.c